
package com.easy.service;

import com.easy.bean.Department;
import com.easy.bean.Employee;
import com.easy.mapper.DepartmentDao;
import com.easy.util.Page;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public interface EmployeeService {
    Employee add(Employee employee);
    int del(Integer id);
    Employee edit(Employee employee);
    List<Employee> all(String name, String phone);
    Employee one(Integer id);
    void page(Page page, Employee employee);

}
